package com.fanqiechaodan.redis.mapper;

import com.fanqiechaodan.redis.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author fanqiechaodan
 * @Classname UserMapper
 * @Description
 */
@Mapper
public interface UserMapper {

    User getById(@Param(value = "id") String id);

    List<String> getAllUserId();
}
